projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82e6e32
)
gdk: Don't (un)set the background when destroying a window.
author
Benjamin Otte
<otte@redhat.com>
Wed, 29 Sep 2010 10:07:12 +0000
(12:07 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Wed, 29 Sep 2010 10:18:17 +0000
(12:18 +0200)
This previously caused the x11 code to do a XSetWindowBackgroundPixmap
call on a window that was about to be destroyed. And that's not really
useful.
https://bugzilla.gnome.org/show_bug.cgi?id=630864
gdk/gdkwindow.c
patch
|
blob
|
history
diff --git
a/gdk/gdkwindow.c
b/gdk/gdkwindow.c
index 098309cbc1bda962ad73f1235380892c201ec4e7..1479798b5570c2126f2e283d23fc8097955c7fdd 100644
(file)
--- a/
gdk/gdkwindow.c
+++ b/
gdk/gdkwindow.c
@@
-1983,8
+1983,6
@@
_gdk_window_destroy_hierarchy (GdkWindow *window,
gdk_window_free_paint_stack (window);
- gdk_window_set_background_pattern (window, NULL);
-
if (private->background)
{
cairo_pattern_destroy (private->background);